import java.util.*;
class DateTest {
	public static void main(String[] args) {
		Date d=new Date();
		System.out.println(d.getTime());
		System.out.println(System.currentTimeMillis());

		System.out.println(d.toString());
		d.setTime(0);
		System.out.println(d.toString());
	}
}
